#ifndef BEEP_DRIVER_H_
#define BEEP_DRIVER_H_

#include "zf_common_typedef.h"


typedef enum{
    on,
    off,
}state;

struct beep_driver_s 
{
    state loop_state;
    state state;
    float now_time;
    float on_time;
    float close_time;
    int num;
    float loop_time;
};

//extern struct beep_driver_s beep;

void set_beep(float on_time, float close_time, int num);
void beep_loop(void);
void beep_init(void);

#endif